package demo;
//Day4
public class Day14003 {
    public static void main(String[] args) {
        invokeDirect(new Director() {
            @Override
            public void makeMovie() {
                System.out.println("导演拍电影啦！");
            }
        });
    }
    private static void invokeDirect(Director director) {
        director.makeMovie();
    }
}
interface Director{
    void makeMovie();
}
